<html>
<head>
<title>Persons list ${start} - ${start + max}</title>
</head>
<body onLoad="">
<g:link action="index">List</g:link> <g:link action="save">Create</g:link>
	<center><table border="1">
		<tr>
			<th>Id</th>
			<th>First Name</th>
			<th>Last Name</th>
			<th>Birth Date</th>
			<th>Legal Identifiers</th>
			<th>Edit</th>
			<th>Delete</th>
		</tr>
		<g:each in="${persons}">
			<tr>
				<td>
					<g:link action="show" id='${it.id }'>${it.id }</g:link>
				</td>
				<td>
					${it.firstName }
				</td>
				<td>
					${it.lastName }
				</td>
				<td>
					${it.birthDate.format('yyyy/MM/dd') }
				</td>
				<td>
					${it.legalIdentifiers }
				</td>
				<td><g:link action="edit" id="${it.id }">edit</g:link></td>
				<td><g:link action="delete" id="${it.id }">delete</g:link></td>
				
			</tr>
		</g:each>
	</table>
	
</body>
</html>